package chapter10.exercise.test07;

public class Outer {

    private String label;

    private String readLabel() {
        System.out.println(label);
        return label;
    }

    class Inner {
        public void outer(String label) {
            Outer.this.label = label;
            readLabel();
        }

        private void read() {
            System.out.println("Inner read()");
        }
    }

    public Inner getInner() {
        Inner inner = new Inner();
        inner.read();
        return inner;
    }


}
